package com.bingxue.edu.management.education.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@Schema(description = "创建学员时的权限信息")
public class StudentEnrollPermissionCreateReq {

    @Schema(description = "科目")
    @NotBlank(message = "科目不能为空")
    @Length(max = 32, message = "科目长度不能超过 {max} 个字符")
    private String subject;

    @Schema(description="班级等级")
    private Integer classLevel;

    @Schema(description = "年份")
    private Integer admissionYear;

    @Schema(description = "班级类型id")
    @NotBlank(message = "班级类型id不能为空")
    @Length(max = 32, message = "班级类型id长度不能超过 {max} 个字符")
    private String classTypeId;

}
